package com.level.system.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.level.system.base.ResponseBean;
import com.level.system.entity.SysUserInfo;
import com.level.system.service.SysUserInfoService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * <p>
 * 系统用户信息表 前端控制器
 * </p>
 *
 * @author zhaocw
 * @since 2019-05-08
 */
@RestController
@RequestMapping("/sysUserInfo")
@Api(value = "SysUserInfoController|用来查询用户信息的controller")
public class SysUserInfoController {

	
	@Autowired
	private SysUserInfoService sysUserInfoService;
	
	/**
	 * 通过id 请求访问  只能POST请求
	 * 测试数据
	 * @param id
	 * @return
	 */
	@RequestMapping(value="/getSysUserInfoById",method= RequestMethod.POST)
	@ApiOperation(value="根据ID查找 SYS_USER_INFO 表用户", notes="备注: 测试数据1有效    仅200有正确返回")
    @ApiImplicitParam(paramType="query", name = "id", value = "用户编号", required = true, dataType = "Integer")
	public ResponseBean<SysUserInfo> getSysUserInfoById(String id){
		//return ResponseBean.success("成功",sysUserInfoService.selectById(id));
		return null;
	}
	
}

